Page({
    data: {
        lotteryStatus: "恭喜您，中奖了",
        userHeader: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
        username: "噼里啪啦",
        count: 1,
        userMsg: "大吉大利，送你好礼",
        gifts: [{
            src: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
            name: '三只松鼠 约辣辣条200g'
        }, {
            src: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
            name: '三只松鼠 约辣辣条200g'
        }, {
            src: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
            name: '三只松鼠 约辣辣条200g'
        }],
        notice: '72小时内无人领取将自动退货',
        total: '2378',
        winningNum: '3',
        winners: [{
            userHeader: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
            username: 'MrXieXie',
            winnerName: '三只松鼠 约辣辣条200g'
        }, {
            userHeader: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
            username: 'MrXieXie',
            winnerName: '三只松鼠 约辣辣条200g'
        }, {
            userHeader: 'http://md.mrxiexie.cn/song/180731/1H7LLFFcID.jpg',
            username: 'MrXieXie',
            winnerName: '三只松鼠 约辣辣条200g'
        }]
    },
    onLoad: function(options) {

    },
    onReady: function() {

    },
    onShow: function() {

    },
    onHide: function() {

    },
    onUnload: function() {

    },
    onPullDownRefresh: function() {

    },
    onReachBottom: function() {

    },
    givingGifts: function() {
        wx.showToast({
            title: "我也要送",
            icon: "", //仅支持success或者loading
            duration: 2000,
            success: function(res) {

            },
            fail: function(res) {

            },
            complete: function(res) {

            }
        });
    }
});